package com.mew.common.rest.gold;

import com.mew.common.rest.MewResponse;
import com.mew.common.rest.user.UserMoneyResponseMessage;
import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class TranResponse extends MewResponse<TranResponse> {

    public UserMoneyResponseMessage userMoneyResponseMessage = new UserMoneyResponseMessage();
    public long fee;
    @Override
    public void write(ByteBuf b) {
        userMoneyResponseMessage.write(b);
        writeLong(b,fee);
    }

    @Override
    public TranResponse read(ByteBuf byteBuf) {
        return null;
    }
}
